{% extends "base.html" %} {% block title %}Vaultora — Performance Metrics{% endblock %} {% block content %}

📊 Performance Metrics

AVG ENCRYPTION

{{ summary.avg_encrypt_ms }}ms

AVG DECRYPTION

{{ summary.avg_decrypt_ms }}ms

INTEGRITY PASS RATE

{{ summary.integrity_pass_rate }}%

TOTAL OPERATIONS

{{ summary.total_uploads + summary.total_downloads }}

🔒 Encryption Stats
Total Uploads {{ summary.total_uploads }}
Average Time {{ summary.avg_encrypt_ms }}ms
Fastest {{ summary.min_encrypt_ms }}ms
Slowest {{ summary.max_encrypt_ms }}ms
✅ Integrity Stats
Total Checks {{ summary.total_integrity_checks }}
Pass Rate {{ summary.integrity_pass_rate }}%
Total Downloads {{ summary.total_downloads }}
Avg Decrypt+Verify {{ summary.avg_decrypt_ms }}ms
🕓 Recent Operations
{% for m in metrics[:50] %} {% endfor %}
Event File Size (KB) Duration (ms) Integrity Time
{% if m.event == "encrypt" %} encrypt {% else %} decrypt {% endif %} {{ m.filename or '—' }} {{ m.file_size_kb or '—' }} {{ m.duration_ms }} {% if m.passed is none %} N/A {% elif m.passed %} ✓ Passed {% else %} ✗ Failed {% endif %} {{ m.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}
{% endblock %}